import http from "@/api/httpApi/base/http.js";


//获取项目的集合
export const getProjectList = () => {
    return http.requestGet("/admin/project/list");
};

//添加项目
export const addProject = (shop) => {
    return http.requestPost("/admin/project", shop);
};
//修改项目
export const updateProject = (shop) => {
    return http.requestPut("/admin/project", shop);
};

//删除项目
export const delProject = (ids) => {
    return http.requestDeleteArr("/admin/project", "id", ids);
};
